import PyPDF2

def read_pdf_pypdf2(file_path):
    content = []
    with open(file_path, 'rb') as file:
        reader = PyPDF2.PdfReader(file)
        for page in reader.pages:
            content.append(page.extract_text())
    return "\n".join(content)

# 使用示例
pdf_content = read_pdf_pypdf2("D:\\hbyt\\AI智能投标\\能力组件-附件\\研发特有_沟通管理及问题事件响应机制_v1.0_2201.pdf")
print(pdf_content)